package org.cx.myweb.vo;

/**
 * Subitem entity. @author MyEclipse Persistence Tools
 */

public class Subitem implements java.io.Serializable {

	// Fields

	private Integer subid;
	private Item item;
	private String subname;
	private Integer subcode;

	// Constructors

	/** default constructor */
	public Subitem() {
	}

	/** full constructor */
	public Subitem(Item item, String subname, Integer subcode) {
		this.item = item;
		this.subname = subname;
		this.subcode = subcode;
	}

	// Property accessors

	public Integer getSubid() {
		return this.subid;
	}

	public void setSubid(Integer subid) {
		this.subid = subid;
	}

	public Item getItem() {
		return this.item;
	}

	public void setItem(Item item) {
		this.item = item;
	}

	public String getSubname() {
		return this.subname;
	}

	public void setSubname(String subname) {
		this.subname = subname;
	}

	public Integer getSubcode() {
		return this.subcode;
	}

	public void setSubcode(Integer subcode) {
		this.subcode = subcode;
	}

}